package slxy.jiangtao.dts.entity.business;

import org.hibernate.annotations.DynamicInsert;
import slxy.jiangtao.dts.core.common.bean.BaseId;

import javax.persistence.*;

/**
 * Code must be sexy
 * Created by Jiang Tao on 2017/5/26.
 * 说明：邮箱文章实体类
 */
@Entity
@Table(name = "article", schema = "dts")
@DynamicInsert
public class Article extends BaseId{

    @Basic
    @Column(name = "name")
    private String name;

    @Basic
    @Column(name = "create_time")
    private String createTime;

    @Basic
    @Column(name = "file_no")
    private String fileNo;

    @Basic
    @Column(name = "creator")
    private String creator;

    @Basic
    @Column(name = "comment")
    private String comment;

    @Basic
    @Column(name = "type")
    private Integer type;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public String getFileNo() {
        return fileNo;
    }

    public void setFileNo(String fileNo) {
        this.fileNo = fileNo;
    }
    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }
    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }


    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
